package com.findfuture.demo.service;

import com.findfuture.demo.model.TDept;

import java.util.List;
import java.util.Map;

public interface IDeptService {
	void addDept(TDept dept) throws Exception;
	void updateDept(TDept dept) throws Exception;
	void deleteDept(int id) throws Exception;
	TDept getDeptById(int id) throws Exception;
	List<TDept> getDeptList() throws Exception;
	Map<String, Object> getAllJson() throws Exception ;
}
